<template>
    <el-checkbox :true-value="cValue?.split('|')[0] || 'on'" :false-value="cValue?.split('|')[1] || 'off'"
        :true-label="cValue?.split('|')[0] || 'on'" :false-label="cValue?.split('|')[1] || 'off'">
        <slot></slot>
    </el-checkbox>
</template>

<script setup>
const { cValue } = defineProps(['cValue'])
</script>

<style scoped></style>